<template>
  <div>
    <van-nav-bar :border="false" fixed :title="obj.text" left-arrow @click-left="GOback" placeholder />

    <div v-if="imgpathData.length">
      <img :src="i.url" alt="" v-for="(i,j) in imgpathData" :key="j">
    </div>
    <div v-if="imageData.length">
      <img :src="k.url" alt="" v-for="(k,u) in imageData" :key="u">
    </div>
    <section v-else>
      <p v-for="(item,index) in specifyDataAdd" :key="index">{{item}}</p>
    </section>
    <!-- <a href="http://cangdu.org/files/elm.apk">111</a> -->
  </div>
</template>

<script>
import { mapState } from 'vuex'
export default {
  computed: {
    ...mapState(['specifyDataAdd', 'obj', 'imgpathData', 'imageData'])
  },
  methods: {
    GOback() {
      this.$router.go(-1)
      this.$store.commit('AddGOback')
    }
  },
  mounted() {}
}
</script>

<style lang="less" scoped>
p {
  padding: 0 0.5rem;
  font-size: 0.58rem;
  color: #333;
  line-height: 1rem;
  margin: 0.3rem 0;
}
img {
  width: 100%;
}
</style>